{* Smarty *}
{include file="header.tpl" title="Login" loggedin="$Loggedin"}
<div class="divMainContent" id="divLogIn">
<p>&nbsp;<br>
<form action="{$SCRIPT_NAME}?action=authlogin" method="post">

<table class="tableMainContent" id="tableLogIn">
  
  {if $error ne ""}
    <tr>
      <td bgcolor="yellow" colspan="2">
        Your email address/password is incorrect. Try again.
      </td>
    </tr>
  {/if}
  
  <tr>
    <td>Email Address: </td>
    <td><input type="text" name="username"></td>
  </tr>
  <tr>
    <td>Password: </td>
    <td><input type="password" name="password"></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
      <input type="submit" value="Login">
    </td>
  </tr>
</table>

</form>
</div>
{include file="footer.tpl"}
